﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	冻结/解冻金额
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<% if (!(bool)ViewData["IsFreez"])
   { %>
<fieldset>
    <legend>冻结金额</legend>
    <div id="div_FreezeMoney">
        <input type="button" name="" value="冻结" onclick='Freez_Click(true)' />
    </div>
</fieldset>
<%}
   else
   { %>
<fieldset>
    <legend>解冻金额</legend>
    <div id="div_FreeMoney">
    <%Html.RenderPartial("FreeMoney"); %>
    </div>
</fieldset>
<%} %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StyleAndScript" runat="server">
<script type="text/javascript">
    function GetDiv(obj) {
        obj.disabled = true;
        $("#div_FreeMoney").load('<%=Url.Action("FreeMoney", "User") %>' + "?round=" + Math.random(), function () {
            obj.disabled = false;
        });
    }
</script>
</asp:Content>
